package com.yanqu.road.entity.activity.patronsfund;

import com.yanqu.road.entity.DataObject;

public class PatronsFundConditionCom extends DataObject {

    /**
     * 玩家ID
     */
    private Long userId;
    /**
     * 门客ID
     */
    private int patronsId;
    /**
     * 活动id
     */
    private int activityId;
    /**
     * 任务类型
     */
    private int conditionType;
    /**
     * 任务ID
     */
    private int conditionId;
    /**
     * 达成时间
     */
    private Long createTime;

    public void setUserId(Long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public Long getUserId() {
        return userId;
    }

    public void setPatronsId(int patronsId) {
        if (this.patronsId != patronsId) {
            this.patronsId = patronsId;
            setUpdateOption();
        }
    }

    public int getPatronsId() {
        return patronsId;
    }

    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public int getActivityId() {
        return activityId;
    }

    public void setConditionType(int conditionType) {
        if (this.conditionType != conditionType) {
            this.conditionType = conditionType;
            setUpdateOption();
        }
    }

    public int getConditionType() {
        return conditionType;
    }

    public void setConditionId(int conditionId) {
        if (this.conditionId != conditionId) {
            this.conditionId = conditionId;
            setUpdateOption();
        }
    }

    public int getConditionId() {
        return conditionId;
    }

    public void setCreateTime(Long createTime) {
        if (this.createTime != createTime) {
            this.createTime = createTime;
            setUpdateOption();
        }
    }

    public Long getCreateTime() {
        return createTime;
    }
}
